Two hydrogen generators based on reactions involving magnesium and steam have been proposed as means for generating the fuel (hydrogen gas) for such fuel-cell power systems as those to be used in the drive systems of advanced motor vehicles. The hydrogen generators would make it unnecessary to rely on any of the hydrogen storage systems developed thus far that are, variously, too expensive, too heavy, too bulky, and/or too unsafe to be practical. The two proposed hydrogen generators are denoted basic and advanced, respectively. In the basic hydrogen generator (see figure), steam at a temperature greater than or equals 330 C would be fed into a reactor charged with magnesium, wherein hydrogen would be released in the exothermic reaction Mg + H2O yields MgO + H2. The steam would be made in a flash boiler. To initiate the reaction, the boiler could be heated electrically by energy borrowed from a storage battery that would be recharged during normal operation of the associated fuel-cell subsystem. Once the reaction was underway, heat from the reaction would be fed to the boiler. If the boiler were made an integral part of the hydrogen-generator reactor vessel, then the problem of transfer of heat from the reactor to the boiler would be greatly simplified. A pump would be used to feed water from a storage tank to the boiler.